#ifndef GRAPH_H
#define GRAPH_H

#include <QObject>
#include "Graphs/MyCharts/mychartview.h"
#include "QChart"
#include "QLineSeries"
#include <QBarSeries>
#include "QChartView"
#include "QList"
#include "QPointF"


// QT_FORWARD_DECLARE_CLASS(QGestureEvent)


class Graph : public QObject
{
    Q_OBJECT
public:
    explicit Graph(QObject *parent = nullptr);
    ~Graph();

    QChart *graph;
    // QChartView *graphView;
    MyChartView *graphView;
    QList<QLineSeries *> graphSeries;
    QList<QBarSeries *> markers;

public slots:
    void setAxiesRanges();
    void setAxiesRanges(qreal start, qreal end);

private:
    void initGraph();
    // bool gestureEvent(QGestureEvent *event);

signals:

};

#endif // GRAPH_H
